Component({
  properties: {
    list: {
      type: null,
      value: []
    },
    title: {
      type: String,
      value: ''
    },
    icon: {
      type: String,
      value: ''
    }
  },
  methods: {
    onTagTap(e) {
      let dataset = e.currentTarget.dataset;
      let tag = dataset.tag;
      this.triggerEvent('tagTap', tag);
      console.log(tag);
    }
  }
})